home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / sol2x / common.z / common / config / cmds next >
Text File  |  1998-06-30  |  9KB  |  259 lines

  1. #
  2. # Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
  3. #                      -- All Rights Reserved --
  4. #
  5.  
  6. #
  7. # Cmds file for (Sun) SOLARIS
  8. #
  9.  
  10. AT                /usr/bin/at
  11. BANNER            /bin/banner
  12. ACCEPT            /usr/lib/accept %
  13. ALLPRINTERS       cd /usr/spool/lp/admins/lp/printers; /bin/ls
  14. ALLPRINTCLASS     cd /usr/spool/lp/admins/lp/printers; /bin/ls; \
  15.                   cd /usr/spool/lp/admins/lp/classes ; /bin/ls
  16. ATTPS             /bin/ps
  17. ATTPSEF           /bin/ps -ef | $ENLIGHTEN/bin/e_col \
  18.                   0:8L8 8:6r6 14:6r6 20:3r3 23:9R10 32:8l10 40:9r9 49:0-0
  19. ENLCANCEL         exec /bin/cancel %
  20. CAT               /bin/cat '%'
  21. CRONTAB           /bin/crontab
  22. DFTFIX            exec /usr/sbin/df -t
  23. DICT1             exec /bin/echo
  24. DICT2             exec /bin/cat $ENLIGHTEN/config/names
  25. DICT3             exec /bin/cat $ENLIGHTEN/config/names /usr/dict/words
  26. DISABLE           exec /bin/disable -r"Disabled by system administrator" %
  27. DUS               exec /bin/du -s % | /bin/awk ' { printf "\%d\\n", ($$1 + 1) / 2 } '
  28. ENABLE            exec /bin/enable %
  29. FILETYPE          exec /bin/file '%'
  30. FSCK              /usr/sbin/fsck %
  31. FUSER             exec /usr/sbin/fuser % 2> /dev/null | \
  32.                   /usr/bin/tr ' ' '\\012' | /bin/sort -u
  33. LPCMD             /bin/lp
  34. GETMODELS         /bin/ls %
  35. LPADMIN           /usr/sbin/lpadmin %
  36. LPSCHED           /usr/lib/lpsched
  37. LPSHUT            /usr/sbin/lpshut
  38. LPSTATA           exec /bin/lpstat -a
  39. LPSTATC           exec /bin/lpstat -c
  40. LPSTATD           exec /bin/lpstat -d
  41. LPSTATO           exec /bin/lpstat -o
  42. LPSTATP           exec /bin/lpstat -p
  43. LPSTATR           exec /bin/lpstat -r
  44. LPSTATV           exec /bin/lpstat -v
  45. MAIL              /bin/mail %
  46. MKDIR             /bin/mkdir %
  47. MKNOD             /usr/sbin/mknod %
  48. NEWALIASES        /usr/bin/newaliases
  49. PACK              /bin/pack
  50. RETENSION         /bin/mt -f % retension
  51. RMFR              /bin/rm -fr "%"
  52. RUPTIME           /bin/ruptime -a
  53. RWHOA             /usr/bin/rwho -a
  54. SHELL             /bin/sh
  55. MOUNT             exec /sbin/mount %
  56. UCBWHO            /bin/who
  57. WHO               /bin/who -u
  58. WHOU              $ENLIGHTEN/bin/whou
  59.  
  60. # Password mamanagement program. We could update all the files ourselves,
  61. # but why re-invent the wheel.
  62. PASSWMGMT         /usr/bin/passmgmt %
  63.  
  64. SH               /bin/sh
  65. RSH              /bin/rsh
  66. CSH              /bin/csh
  67. KSH              /bin/ksh
  68. RKSH             /bin/rksh
  69. TCSH             /bin/tcsh
  70.  
  71. GETBOOTCMDS       /bin/echo /etc/rc*.d/* /sbin/rc[0-9] | /bin/tr ' ' '\012' 
  72. BOOTFILTER        /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
  73.  
  74. # The awk script is to remove the first five fields from the file(s).
  75. # For AT&T type cron use /usr/spool/cron/crontabs/*/*
  76.  
  77. GETCRONCMDS       /bin/echo /usr/spool/cron/crontabs/* | /bin/tr ' ' '\012' 
  78.  
  79. CRONFILTER        /usr/bin/egrep -v "^\#" % | \
  80.                   /bin/awk ' { for (i = 6; i <= NF; i++) \
  81.                   printf ("\%s ", $$i); printf ("\\n"); } ' | \
  82.                   $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
  83.  
  84. # Command to determine if the autologout daemon gets started in an "rc" file.
  85. FINDALDCMD        /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  86.                   /bin/fgrep ulogout | /bin/wc -l
  87.  
  88. # Command to determine if the diskusage watchdog gets started in an "rc" file.
  89. FINDDWDCMD        /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  90.                   /bin/fgrep bin/watchdisk | /bin/wc -l
  91.  
  92. # Command to determine if the network watchdog gets started in an "rc" file.
  93. FINDNETDWDCMD     /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  94.                   /bin/fgrep bin/netwatchdisk | /bin/wc -l
  95.  
  96. # Command to create any type of login initialization scripts
  97. RCCMD             /bin/sh $ENLIGHTEN/scripts/user.rc %
  98.  
  99. BACKEND           $ENLIGHTEN/bin/backend
  100. COMPLETION        $ENLIGHTEN/bin/p_completion
  101. DFT               exec $ENLIGHTEN/bin/dft
  102. EPOOL             $ENLIGHTEN/bin/e_pool
  103. ERASE             $ENLIGHTEN/bin/erase -v %
  104. MOTNOTICE         "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
  105.                   -m1 \"Please mount new Volume\""
  106. OLNOTICE          "$ENLIGHTEN/bin/donotice -label \"ENLIGHTEN utar\" \
  107.                   -m1 \"Please mount new Volume\""
  108. HEXED             $ENLIGHTEN/bin/hexed '%'
  109. LPMOVE            exec $ENLIGHTEN/bin/p_lpmove %
  110. MAKENIS           /bin/sh $ENLIGHTEN/config/makenis %
  111. MYA2PS            $ENLIGHTEN/bin/psgen -l2
  112. NETUTAR           $ENLIGHTEN/bin/netutar
  113. NETWATCHDISK      $ENLIGHTEN/bin/netwatchdisk % &
  114. OBVIOUS           exec $ENLIGHTEN/bin/uobvious -d -
  115. PPING             exec $ENLIGHTEN/bin/p_ping -s
  116. REMLP             $ENLIGHTEN/bin/remlp
  117. RFDIST            $ENLIGHTEN/bin/rfdist
  118. SECBOOT           exec $ENLIGHTEN/bin/secboot
  119. SECBREAKIN        exec $ENLIGHTEN/bin/secbreakin
  120. SECCRON           exec $ENLIGHTEN/bin/seccron
  121. SECDEVICE         exec $ENLIGHTEN/bin/secdevice
  122. SECGROUP          exec $ENLIGHTEN/bin/secgroup
  123. SECHOME           exec $ENLIGHTEN/bin/sechome
  124. SECPASSWD         exec $ENLIGHTEN/bin/secpasswd
  125. SECVITAL          exec $ENLIGHTEN/bin/secvital
  126. KP                $ENLIGHTEN/bin/kp
  127. SF                $ENLIGHTEN/bin/sf
  128. SNAPDIFF          exec $ENLIGHTEN/bin/p_snapdiff %
  129. SWAP              exec $ENLIGHTEN/bin/p_swap SOLARIS
  130. ULOGOUT           exec $ENLIGHTEN/bin/ulogout %
  131. WATCHDISK         exec $ENLIGHTEN/bin/watchdisk % &
  132. WATCHDOG          exec $ENLIGHTEN/bin/watchdog % -Wi -WP 975 75 &
  133. XWATCHDOG         exec $ENLIGHTEN/bin/xwatchdog -iconic % &
  134. P_WIZPRINTER      exec $ENLIGHTEN/bin/p_wizprinter %
  135. P_WIZDISK         exec $ENLIGHTEN/bin/p_wizdisk %
  136. P_WIZUSER         exec $ENLIGHTEN/bin/p_wizuser %
  137. P_VULNERABLE      exec $ENLIGHTEN/bin/p_vulnerable %
  138. E_FINDKEY         $ENLIGHTEN/bin/e_findkey %
  139. E_NIPMASTER       $ENLIGHTEN/bin/e_nipmaster
  140. P_ALLDISKS        exec $ENLIGHTEN/bin/p_alldisks
  141. P_PARTITIONS      exec $ENLIGHTEN/bin/p_partition %
  142. P_MAKEDEV         $ENLIGHTEN/bin/p_makedev SOLARIS %
  143. P_FORMAT          $ENLIGHTEN/bin/p_format  SOLARIS %
  144. P_NEWPARTS        exec $ENLIGHTEN/bin/p_newparts %
  145. P_HASFS           exec $ENLIGHTEN/bin/p_hasfs %
  146. NEWFS             /usr/sbin/newfs %
  147.  
  148. RSHCMD            /bin/rsh -l enlcmd %
  149. RLOGIN            /bin/rlogin -l enlcmd %
  150. TALK              /bin/talk %
  151. NETCAT            $ENLIGHTEN/bin/p_write %
  152.  
  153. ENLWINDOW         /usr/openwin/bin/xterm -e sh -c 'trap exit 1 2 3 4; \
  154.                   stty sane; clear; % ; echo ; \
  155.                   echo \"Hit Enter/Return to continue\\c\"; \
  156.                   read ans; rm -f %; exit' &
  157.  
  158. FORWINDOW         /usr/openwin/bin/xterm -e sh -c 'stty sane; clear; % ; echo; \
  159.                   echo \"Hit Enter/Return to continue \\c\"; \
  160.                   read ans; exit'
  161.  
  162. BACKWINDOW        /usr/openwin/bin/xterm -e sh -c 'stty sane; clear; % ; echo; \
  163.                   echo \"Hit Enter/Return to continue \\c\"; \
  164.                   read ans; exit' &
  165.  
  166. YPCAT             /bin/ypcat %
  167. YPMAKE            (cd /var/yp; make)
  168.  
  169. REMCP             /usr/ucb/rcp
  170. REMSH             /usr/ucb/rsh
  171. TAPEDEVS          /usr/bin/ls -1 /dev/rmt/*
  172. CRONTAB           /usr/bin/crontab %
  173.  
  174. DOMAINNAME        /bin/domainname
  175. UNAME             /bin/uname -a
  176. NODENAME          /bin/uname -n
  177. IFCONFIG          /usr/sbin/ifconfig
  178. LANSCAN           /usr/sbin/ifconfig -a
  179. YPWHICH           /bin/ypwhich
  180. SET_HOSTNAME      /bin/uname -S
  181.  
  182. MAKE_CMD     /usr/bin/make
  183. RMALL         /bin/rm -rf
  184. XMKDIR         /bin/mkdir -p
  185. KILL         /bin/kill
  186. YPBIND           /usr/lib/netsvc/yp/ypbind
  187. XYPCAT       /bin/ypcat 
  188. PS_CMD          /bin/ps -ef
  189. NAMED          /usr/sbin/in.named
  190. LANSCAN          /usr/sbin/ifconfig -a
  191.  
  192. # NFS
  193.  
  194. MOUNTP          /usr/sbin/mount -p 
  195. MOUNTNFS     /usr/sbin/mount -O -F nfs %
  196. UMOUNT         /usr/sbin/umount %
  197. EXPORTFS     /usr/sbin/share -F nfs  %
  198. SHAREFS         /usr/sbin/share 
  199. UNEXPORTFS     /usr/sbin/unshare -F nfs 
  200.  
  201. # network printters
  202.  
  203. XLPADMIN     /usr/sbin/lpadmin
  204. LPACCEPT     /usr/lib/accept
  205. LPENABLE     /usr/bin/enable
  206. LPSYSTEM        /usr/sbin/lpsystem
  207. LPDISABLE       /usr/bin/disable
  208. LPCANCEL        /usr/bin/cancel
  209. LPSTAT          /bin/lpstat -t
  210. LPSYSTEM_STAT   /usr/sbin/lpsystem -l
  211.  
  212. # Clock Set/Clock Sync
  213. SETTIME         $ENLIGHTEN/bin/settime
  214.  
  215. # cron managment
  216. XCRONTAB         /bin/crontab
  217.  
  218. WALL            /usr/sbin/wall
  219. P_SHUTDOWN      $ENLIGHTEN/bin/p_shutdown %
  220. STATUSMAP       $ENLIGHTEN/bin/sm -p % -x
  221. TELNET          /usr/bin/telnet %
  222.  
  223. # NIS+ commands
  224. NISCHTTL        /bin/nischttl
  225. NISCHMOD        /bin/nischmod
  226. NISCHOWN        /bin/nischown
  227. NISCHGRP        /bin/nischgrp
  228. NISRMDIR        /bin/nisrmdir
  229. NISMKDIR        /bin/nismkdir
  230. CHKEY           /bin/chkey
  231. KEYLOGIN        /usr/bin/keylogin
  232. NISINIT         /usr/sbin/nisinit    
  233. NISPING         /usr/lib/nis/nisping
  234. NISPASSWD       /bin/nispasswd
  235. NISGRPADM       /bin/nisgrpadm
  236. NISTBLADM       /bin/nistbladm
  237. NISADDENT       /usr/lib/nis/nisaddent
  238. NISUPDKEYS      /usr/lib/nis/nisupdkeys
  239. NISSETUP        /usr/lib/nis/nissetup
  240. NISADDCRED      /bin/nisaddcred
  241. RPCNISD         /usr/sbin/rpc.nisd
  242. KEYSERV         /usr/sbin/keyserv
  243. NISCATP         /bin/niscat -o 
  244. NISCAT          /bin/niscat 
  245. CACHEMGR        /usr/sbin/nis_cachemgr
  246. NISPSERVER      /usr/lib/nis/nisserver
  247. NISCLIENT       /usr/lib/nis/nisclient
  248. NISPOPULATE     /usr/lib/nis/nispopulate
  249. NISADM          /bin/nisgrpadm
  250. NISLS           /bin/nisls
  251.  
  252. RENLD        $ENLIGHTEN/bin/renld
  253. RENLDC        $ENLIGHTEN/bin/renldc
  254.  
  255. REBOOT          /etc/reboot
  256. SHUTDOWN        /etc/shutdown
  257. RWALL           /usr/etc/rwall
  258. XENLNALIVE    $ENLIGHTEN/bin/xenln_alive
  259.